package com.privasphere.wikidoclet.doclet.formater;

import java.util.List;

import com.privasphere.wikidoclet.doclet.page.Page;

public class FormatIndexPage extends FormatPage {

	public String createIndex(List<Page> pageList) {
		String output = "";
		if (pageList != null) {
			for (Page s : pageList) {
				output += s.getPageTitle() + DELIMITER + s.getHash() + FormatPage.NEWLINE;
			}
		} else {
			output += "No indexing information";
		}
		return output;
	}

}
